package com.dhcc.sdc.cdss.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import com.dhcc.sdc.cdss.dto.CdssTreatChildrenDto;

import java.util.List;


/**
 * 
 * 
 * @ClassName: SdcCdssTreatEntity
 * @Description: TODO
 * @author zhangdc
 * @date 2022-06-23 15:46:45
 */
@TableName("t_sdc_cdss_treat") 
public class SdcCdssTreatEntity extends BaseEntity<SdcCdssTreatEntity> {
	private static final long serialVersionUID = 1L;
	
	//推荐项目ID
	private String itemId;	
	//单病种的病种ID
	private Long qcentityId;	
	//推荐项目名称
	private String itemName;	
	//推荐项目备注
	private String itemDesc;	
	//文献来源，1：有， 0：无
	private Integer sourceFlag;
	//关联质控项目
	//private Long qcId;

	private Integer noCondition;

	//唯一id
	private String nodeId;
	//文献来源ID
	private String cureId;

	//开始时间
	private Integer pushStart;
	//结束时间
	private Integer pushEnd;
	//时间计算单位1year、2month、3day、 4hour、5minute、6second
	private Integer timeUnit;
	//数据源ID
	private Long dataSource;
	//取值项目
	private Long dataSourceItem;
	//传参
	private String param;

	@TableField(exist = false)
	private List<CdssTreatChildrenDto> children;

	//质控条目
	@TableField(exist = false)
	private String qcDesc;
	//参照时间
	@TableField(exist = false)
	private String referenceTime;

	//是否CDSS方案 1：是 0：否
	private Integer isCdss;
	//显示前提
	private String showPremise;

	/**
	 * 设置：推荐项目ID
	 */
	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	/**
	 * 获取：推荐项目ID
	 */
	public String getItemId() {
		return itemId;
	}
	/**
	 * 设置：单病种的病种ID
	 */
	public void setQcentityId(Long qcentityId) {
		this.qcentityId = qcentityId;
	}
	/**
	 * 获取：单病种的病种ID
	 */
	public Long getQcentityId() {
		return qcentityId;
	}
	/**
	 * 设置：推荐项目名称
	 */
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	/**
	 * 获取：推荐项目名称
	 */
	public String getItemName() {
		return itemName;
	}
	/**
	 * 设置：推荐项目备注
	 */
	public void setItemDesc(String itemDesc) {
		this.itemDesc = itemDesc;
	}
	/**
	 * 获取：推荐项目备注
	 */
	public String getItemDesc() {
		return itemDesc;
	}
	/**
	 * 设置：文献来源，1：有， 0：无
	 */
	public void setSourceFlag(Integer sourceFlag) {
		this.sourceFlag = sourceFlag;
	}
	/**
	 * 获取：文献来源，1：有， 0：无
	 */
	public Integer getSourceFlag() {
		return sourceFlag;
	}

	public List<CdssTreatChildrenDto> getChildren() {
		return children;
	}

	public void setChildren(List<CdssTreatChildrenDto> children) {
		this.children = children;
	}

	/*public Long getQcId() {
		return qcId;
	}

	public void setQcId(Long qcId) {
		this.qcId = qcId;
	}*/

	public Integer getNoCondition() {
		return noCondition;
	}

	public void setNoCondition(Integer noCondition) {
		this.noCondition = noCondition;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getCureId() {
		return cureId;
	}

	public void setCureId(String cureId) {
		this.cureId = cureId;
	}

	public Integer getPushStart() {
		return pushStart;
	}

	public void setPushStart(Integer pushStart) {
		this.pushStart = pushStart;
	}

	public Integer getPushEnd() {
		return pushEnd;
	}

	public void setPushEnd(Integer pushEnd) {
		this.pushEnd = pushEnd;
	}

	public Integer getTimeUnit() {
		return timeUnit;
	}

	public void setTimeUnit(Integer timeUnit) {
		this.timeUnit = timeUnit;
	}

	public Long getDataSource() {
		return dataSource;
	}

	public void setDataSource(Long dataSource) {
		this.dataSource = dataSource;
	}

	public Long getDataSourceItem() {
		return dataSourceItem;
	}

	public void setDataSourceItem(Long dataSourceItem) {
		this.dataSourceItem = dataSourceItem;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public String getQcDesc() {
		return qcDesc;
	}

	public void setQcDesc(String qcDesc) {
		this.qcDesc = qcDesc;
	}

	public String getReferenceTime() {
		return referenceTime;
	}

	public void setReferenceTime(String referenceTime) {
		this.referenceTime = referenceTime;
	}

	public Integer getIsCdss() {
		return isCdss;
	}

	public void setIsCdss(Integer isCdss) {
		this.isCdss = isCdss;
	}

	public String getShowPremise() {
		return showPremise;
	}

	public void setShowPremise(String showPremise) {
		this.showPremise = showPremise;
	}
}
